﻿function runSharedSetup() {
    "use strict";
    beforeEach(module('app'));
    var notificationMock = {}, pageStateMock = {}, configMock = { paging: { pageSize: 5, linksSize: 5 } }

    beforeEach(function () {
        notificationMock = { notify: function (text) { console.log(text); } }
        module(function ($provide) {
            $provide.value('notification', notificationMock);
            $provide.value('pageState', pageStateMock);
            $provide.value('config', configMock);
        })
    })
}